package com.springboot.cloud.demos.feign.service;

import com.springboot.cloud.common.core.entity.vo.Result;
import com.springboot.cloud.common.core.exception.SystemErrorType;
import com.springboot.cloud.demos.entity.form.MomentCommentForm;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

@Component
public class MomentCommentServiceFallback implements MomentCommentService {

    @Override
    public Result save(MomentCommentForm userQuestionForm) {
        return Result.fail(SystemErrorType.SYSTEM_BUSY);
    }

    @Override
    public Result query(String momentId, Integer pageNo, Integer pageSize) {
        return Result.fail(SystemErrorType.SYSTEM_BUSY);
    }

    @Override
    public Result queryCount(String momentId) {
        return null;
    }

}
